package hupu.hnlp.hot_buffer.distbuffer.service;

import javax.annotation.Resource;
import javax.persistence.EntityManagerFactory;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.fasterxml.jackson.databind.ObjectMapper;

import hupu.hnlp.hot_buffer.distbuffer.appconfig.AppConfig;

public class BaseService
{
    @SuppressWarnings("unused")
    private final static Logger logger = LoggerFactory
            .getLogger(BaseService.class);

    @Resource(name = "appconfig")
    protected AppConfig appconfig;

    @Resource
    protected ObjectMapper objectMapper;

    @Resource(name = "hotEntityManagerFactory")
    protected EntityManagerFactory hotEntityManagerFactory;
}
